package com.echo.code.spring.core;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/04/21
 */
@Configuration
public class StudentConfig {

  @Bean
  public Student student() {
    Student student = new Student();
    student.setName("Echo");
    student.setScore(90.00);
    return student;
  }
}
